/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __AB9DD977_EB38_43D3_B44C_6C9B05C6515E__
#define __AB9DD977_EB38_43D3_B44C_6C9B05C6515E__

// DRIVER={MySQL ODBC 5.3 ANSI Driver};SERVER=192.168.80.131;PORT=3306;DATABASE=javadb;UID=root;PWD=root;CharSet=UTF8;

namespace xos_odbc
{
    class i_connect;
    class i_connect_pool : public xos::i_release
    {
    protected:
        virtual ~i_connect_pool(){}

    public:
        virtual int set_connect_str( const char * lpszConnectStr ) = 0;
        virtual int put( i_connect *& pConnect ) = 0;
        virtual i_connect * get() = 0;
    };

} // xos_odbc

#endif // __AB9DD977_EB38_43D3_B44C_6C9B05C6515E__
